﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Reflection;

namespace LeanEngine.Reflection
{
    public sealed class MethodInvokerFactory : IReflectionFactory<MethodInfo, IMethodInvoker>
    {
        #region IReflectionFactory<MethodInfo,IMethodInvoker> Members

        public IMethodInvoker Create(MethodInfo key)
        {
            return new MethodInvoker(key);
        }

        #endregion
    }
}
